﻿<%= error_messages_for :user %>

<% form_for :user, :url => users_path do |f| %>

  <p>
    <label for="login">Login</label><br />
    <%= f.text_field :login %>
  </p>

  <p>
    <label for="password">Mot de passe</label><br />
    <%= f.password_field :password %>
  </p>

  <p>
    <label for="password_confirmation">Confirmer mot de passe</label><br />
    <%= f.password_field :password_confirmation %>
  </p>
  <p>
    <label for="Email">Email</label><br />
    <%= f.text_field :email %>
  </p>
  <p>
    <label for="profil">Profil</label><br />
    <%= f.text_field :profil %>
  </p>

  <p><%= submit_tag "Créer" %></p>
<% end %>